import request from '../utils/request';

/**
 * 小程序设置
 */
export function setting(data) {
  return request({
    url: 'program/setting',
    method: 'get',
    data: data
  });
}

/**
 * 首页banner
 */
export function bannerList() {
  return request({
    url: 'banner/lists',
    method: 'get'
  });
}

/**
 * 首页banner
 */
export function bannerRich() {
  return request({
    url: 'banner/rich',
    method: 'get'
  });
}
